package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author lands
 * @since 2024-11-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String password;

    private String sex;

    private String phoneNumber;

    private String avatar;

    private Date registerTime;

    private String lastLoginIp;

    private String registerItmeIp;

    private String nickname;

    private String age;

    private String email;
    @TableField(exist = false)
    private String code;
}
